package com.sls.game.pojo;

/**
 * 
 * @description 殴飞交易接口（提卡和直充）
 * @author Wangxuegang
 * @date 2012-10-7
 * 
 */
public class OhFeiTradeInfo {

	// ===================提卡接口属性
	/**
	 * SP编码
	 */
	private String userid;

	/**
	 * SP接入密码
	 */
	private String userpws;

	/**
	 * 所需提货商品的编码
	 */
	private String cardid;

	/**
	 * 所需提货商品的数量
	 */
	private String cardnum;

	/**
	 * Sp商家的订单号
	 */
	private String sporder_id;

	/**
	 * 订单时间 （yyyyMMddHHmmss 如：20070323140214）
	 */
	private String sporder_time;

	/**
	 * Md5验证字符串
	 */
	private String md5_str;

	/**
	 * 收货手机号（可为空，不参与MD5验证）
	 */
	private String phone;

	/**
	 * 固定值为：4.0(不参与MD5验证)
	 */
	private String version;

	// ================直充接口属性

	/**
	 * 游戏玩家账号
	 */
	private String game_userid;

	/**
	 * 游戏玩家的密码
	 */
	private String game_userpsw;

	/**
	 * 游戏所在区域
	 */
	private String game_area;

	/**
	 * 游戏所在服务器组
	 */
	private String game_srv;

	/**
	 * 订单充值成功后返回的URL地址
	 */
	private String ret_url;

	/**
	 * 买家IP
	 */
	private String userip;

	// --------交易订单返回属性的值---------
	/**
	 * 错误描述，如请求得到正确返回，此处将为空
	 */
	private String err_msg;

	/**
	 * 操作返回代码，1成功,err_msg为空，其它数字具体错误在err_msg返回
	 */
	private String retcode;

	/**
	 * CP流水号
	 */
	private String orderid;

	/**
	 * 订单金额(元)
	 */
	private String ordercash;

	/**
	 * 卡名称
	 */
	private String cardname;

	/**
	 * 卡号
	 */
	private String cardno;

	/**
	 * 密码
	 */
	private String cardpws;

	/**
	 * 有效期
	 */
	private String expiretime;

	/**
	 * 如果成功将为1，澈消(充值失败)为9，充值中为0,<br>
	 * 只能当状态为9时，商户才可以退款给用户
	 */
	private String game_state;

	/**
	 * 卡号卡密
	 */
	private String cardIdPwd;

	// ===========================================Methods

	public String getErr_msg() {
		return err_msg;
	}

	public String getCardIdPwd() {
		return cardIdPwd;
	}

	public void setCardIdPwd(String cardIdPwd) {
		this.cardIdPwd = cardIdPwd;
	}

	public String getGame_state() {
		return game_state;
	}

	public void setGame_state(String game_state) {
		this.game_state = game_state;
	}

	public String getGame_userid() {
		return game_userid;
	}

	public void setGame_userid(String game_userid) {
		this.game_userid = game_userid;
	}

	public String getGame_userpsw() {
		return game_userpsw;
	}

	public void setGame_userpsw(String game_userpsw) {
		this.game_userpsw = game_userpsw;
	}

	public String getGame_area() {
		return game_area;
	}

	public void setGame_area(String game_area) {
		this.game_area = game_area;
	}

	public String getGame_srv() {
		return game_srv;
	}

	public void setGame_srv(String game_srv) {
		this.game_srv = game_srv;
	}

	public String getRet_url() {
		return ret_url;
	}

	public void setRet_url(String ret_url) {
		this.ret_url = ret_url;
	}

	public String getUserip() {
		return userip;
	}

	public void setUserip(String userip) {
		this.userip = userip;
	}

	public void setErr_msg(String err_msg) {
		this.err_msg = err_msg;
	}

	public String getRetcode() {
		return retcode;
	}

	public void setRetcode(String retcode) {
		this.retcode = retcode;
	}

	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public String getCardid() {
		return cardid;
	}

	public void setCardid(String cardid) {
		this.cardid = cardid;
	}

	public String getOrdercash() {
		return ordercash;
	}

	public void setOrdercash(String ordercash) {
		this.ordercash = ordercash;
	}

	public String getCardname() {
		return cardname;
	}

	public void setCardname(String cardname) {
		this.cardname = cardname;
	}

	public String getCardno() {
		return cardno;
	}

	public void setCardno(String cardno) {
		this.cardno = cardno;
	}

	public String getCardpws() {
		return cardpws;
	}

	public void setCardpws(String cardpws) {
		this.cardpws = cardpws;
	}

	public String getExpiretime() {
		return expiretime;
	}

	public void setExpiretime(String expiretime) {
		this.expiretime = expiretime;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUserpws() {
		return userpws;
	}

	public void setUserpws(String userpws) {
		this.userpws = userpws;
	}

	public String getCardnum() {
		return cardnum;
	}

	public void setCardnum(String cardnum) {
		this.cardnum = cardnum;
	}

	public String getSporder_id() {
		return sporder_id;
	}

	public void setSporder_id(String sporder_id) {
		this.sporder_id = sporder_id;
	}

	public String getSporder_time() {
		return sporder_time;
	}

	public void setSporder_time(String sporder_time) {
		this.sporder_time = sporder_time;
	}

	public String getMd5_str() {
		return md5_str;
	}

	public void setMd5_str(String md5_str) {
		this.md5_str = md5_str;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

}
